// switch_case.cpp
#include <iostream>

int main() {
    int choice;

    std::cout << "请选择一个选项 (1-4): ";
    std::cin >> choice;

    switch (choice) {
        case 1:
            std::cout << "您选择了选项 1。" << std::endl;
            break;
        case 2:
            std::cout << "您选择了选项 2。" << std::endl;
            break;
        case 3:
            std::cout << "您选择了选项 3。" << std::endl;
            break;
        case 4:
            std::cout << "您选择了选项 4。" << std::endl;
            break;
        default:
            std::cout << "无效的选择。" << std::endl;
    }

    return 0;
}